package cn.qu.v1.platform.runner;

import cn.qu.v1.platform.plugin.loader.PluginManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by zh on 17/1/7.
 */
public class PlatformApplication {

    private final static Logger logger = LoggerFactory.getLogger(PlatformApplication.class);

    private final static String DEFAULT_CONFIG_FILE = "conf/platform.properties";
    private final static String DEFAULT_PLUGIN_DIR = "plugins";

    public static void main(String[] args) {
        String cconfigFile = System.getProperty("platform.conf", DEFAULT_CONFIG_FILE);

        PluginManager pluginManager = new PluginManager(DEFAULT_PLUGIN_DIR);





//        Runtime.getRuntime().addShutdownHook();
    }
}
